Current Location: Home> Function Categories> is_infinite

is_infinite

Determine whether it is infinite
Name:is_infinite
Category:math
Programming Language:php
One-line Description:Determine whether it is an infinite value.

Definition and usage

is_infinite() determines whether it is an infinite value.

Example

 <?php
echo is_infinite ( 2 ) ;
echo is_infinite ( log ( 0 ) ) ;
echo is_infinite ( 2000 ) ;
?>

Try it yourself

grammar

 is_infinite ( x )
parameter describe
x Required. Specify the value to be checked.

illustrate

Return true if x is infinite (positive or negative), such as the result of log(0) or any value that exceeds the range of floating point numbers on this platform.

Similar Functions
  • Convert decimal to hexadecimal dechex

    dechex

    Convertdecimaltohexa
  • Natural logarithm log

    log

    Naturallogarithm
  • Perform floating point division under IEEE 754 semantics fdiv

    fdiv

    Performfloatingpoint
  • Sine sin

    sin

    Sine
  • Hyperbolic tangent tanh

    tanh

    Hyperbolictangent
  • Get the pi value pi

    pi

    Getthepivalue
  • Convert hexadecimal to decimal hexdec

    hexdec

    Converthexadecimalto
  • Anyway atan

    atan

    Anyway
Popular Articles